# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wev
pkgver=1.0.0
pkgrel=1
pkgdesc="Wayland event viewer"
url="https://git.sr.ht/~sircmpwn/wev"
arch="all"
license="MIT"
makedepends="wayland-dev wayland-protocols libxkbcommon-dev scdoc"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver-2.tar.gz::https://git.sr.ht/~sircmpwn/wev/archive/$pkgver.tar.gz"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr MANDIR=/usr/share/man install
}

sha512sums="
01d933b485393b5c3cd7a2d11c3946b48701650d61117aba2ec7ff8b9633e03dc462b25013f1faeea0d6e90f45251a4c701df76a5f894869645c9a84243f937c  wev-1.0.0-2.tar.gz
"
